<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
	<html>
	<head>
	<title>menu</title>
	<link rel="stylesheet" href="skin/css/base.css" type="text/css" />
	<link rel="stylesheet" href="skin/css/menu.css" type="text/css" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<script language='javascript'>var curopenItem = '1';</script>
	<script language="javascript" type="text/javascript" src="skin/js/frame/menu.js"></script>
	<base target="main" />
	</head>
	<body target="main">
	<table width='99%' height="100%" border='0' cellspacing='0' cellpadding='0'>
	  <tr>
	    <td style='padding-left:3px;padding-top:8px' valign="top">
		<!-- Item 1 Strat -->
	      <dl class='bitem'>
	        <dt onClick='showHide("items1_1")'><b>常用操作</b></dt>
	        <dd style='display:block' class='sitem' id='items1_1'>
	          <ul class='sitemu'>
	          
	          <c:forEach items="${menus}" var="item" varStatus="status">
		          <li>
		           	<div class='items'>
		           		<c:if test="${item.link!='0'}">
		           			<div class='fllct'><a href='${ctx }${item.link}' target='main'>${item.name }</a></div>
		           		</c:if>
		              </div>
		          </li>
	          </c:forEach>
	             <!-- <li><div class='items'>
	                <div class='fllct'><a href='/hostel/hostelinfo' target='main'>宿舍信息管理</a></div>
	                <div class='flrct'> <a href='/hostel/hostelinfo/intoInit' target='main'><img src='skin/images/frame/gtk-sadd.png' alt='宿舍信息导入' title='宿舍信息导入'/></a> </div>
	              </div>
	            </li>
	            <li><a href='/hostel/filelist' target='main'>xls表格导入</a> </li>
	            <li>
	              <div class='items'>
	                <div class='fllct'><a href='/hostel/hosteldayscore' target='main'>日检查管理</a></div>
	                <div class='flrct'> <a href='/hostel/hosteldayscore/new' target='main'><img src='skin/images/frame/gtk-sadd.png' alt='添加日记录' title='添加日记录'/></a> </div>
	              </div>
	            </li>
	            <li>
	              <div class='items'>
	                <div class='fllct'><a href='/hostel/hosteltongji' target='main'>记录次数统计</a></div>
	                <div class='flrct'> <a href='/hostel/hosteltongji?type=2' target='main'><img src='skin/images/frame/gtk-del.png' alt='地面差统计' title='地面差统计'/></a> </div>
	              </div>
	            </li>-->
	          </ul>
	        </dd>
	      </dl>
	      <c:forEach items="${menus}" var="item" varStatus="status">
		      <dl class='bitem'>
		      	<c:if test="${item.link=='0'}">
		      	<dt onClick='showHide("items${status.count+1}_1")'><b>${item.name }</b></dt>
		      	<dd style='display:block' class='sitem' id='items${status.count+1}_1'>
		      		<ul class='sitemu'>
		      		</ul>
		      	</dd>
		      	</c:if>
		       </dl>
	      </c:forEach>
	      <!-- Item 1 End -->
	      <!-- Item 2 Strat -->
	     <!--  <dl class='bitem'>
	        <dt onClick='showHide("items2_1")'><b>系统帮助</b></dt>
	        <dd style='display:block' class='sitem' id='items2_1'>
	          <ul class='sitemu'>
	            <li><a href='http://www.865171.cn' target='_blank'>官方网站</a></li>
	            <li><a href='http://www.865171.cn/admin-templates/' target='_blank'>更多后台模板</a></li>
	          </ul>
	        </dd>
	      </dl> 
	      <!-- Item 2 End -->
		  </td>
	  </tr>
	</table>
	</body>
	</html>
